package cn.jilian.entity;

import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.Transient;

import org.hibernate.annotations.DiscriminatorOptions;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

/**
 * 操作
 * */
@Entity
@DynamicInsert
@DynamicUpdate
@DiscriminatorValue(Menu.MENU_ACT_META)
@DiscriminatorOptions(force=true)
public class MenuAct extends Menu {

	/**
	 * 
	 */
	private static final long serialVersionUID = 5243700482576533055L;
	
	
	
	@Transient
	private Boolean leaf=Boolean.TRUE;

	
	public Boolean getLeaf() {
		return leaf;
	}

	public void setLeaf(Boolean leaf) {
		this.leaf = leaf;
	}
	
	
}
